<?php
class Custom_Model_Repositories_NewsRepository 
extends Custom_Model_Repositories_AclRepositoryAbstract
{
    /**
     * (non-PHPdoc)
     * @see library/Custom/Model/Custom_Model_RepositoryAbstract::init()
     */
    public function init()
    {
    	
    }

    /**
     * (non-PHPdoc)
     * @see library/Zend/Acl/Resource/Zend_Acl_Resource_Interface::getResourceId()
     *
     * @return string
     */
    public function getResourceId()
    {
        return "News";
    }
    
    public function getAllNews()
    {
        $newEntity = $this->getResource('NewsEntity');
        return $newEntity->getAllNews();
    }
}